﻿<phone:PhoneApplicationPage 
	x:Class="NASA.BeAMartian.Views.Learn.NewsList"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
	mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
	SupportedOrientations="Portrait" Orientation="Portrait"
	shell:SystemTray.IsVisible="False"
    xmlns:locCtl="clr-namespace:NASA.BeAMartian.Controls"
	xmlns:commonControls="clr-namespace:NASA.BeAMartian.Controls"
    locCtl:TiltEffect.IsTiltEnabled="True">
	<phone:PhoneApplicationPage.Resources>
		<Style TargetType="Image" x:Key="stImage">
			<Setter Property="Height" Value="180"></Setter>
		</Style>
		<ItemsPanelTemplate x:Key="ItemsPanelTemplate1">
				<toolkit:WrapPanel/>
		</ItemsPanelTemplate>
		<Style x:Key="ListBoxItemStyle1" TargetType="ListBoxItem">
			<Setter Property="Background" Value="Transparent"/>
			<Setter Property="BorderThickness" Value="0,0,8,8"/>
			<Setter Property="BorderBrush" Value="Transparent"/>
			<Setter Property="Padding" Value="0"/>
			<Setter Property="HorizontalContentAlignment" Value="Left"/>
			<Setter Property="VerticalContentAlignment" Value="Top"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="ListBoxItem">
						<Border x:Name="LayoutRoot" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Disabled">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="LayoutRoot">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TransparentBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<DoubleAnimation Duration="0" To=".5" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ContentContainer"/>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
								<VisualStateGroup x:Name="SelectionStates">
									<VisualState x:Name="Unselected"/>
									<VisualState x:Name="Selected">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneAccentBrush}"/>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
						</Border>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>
		<Style x:Key="ListBoxItemStyleVideo" TargetType="ListBoxItem">
			<Setter Property="Background" Value="Transparent"/>
			<Setter Property="BorderThickness" Value="0,0,0,20"/>
			<Setter Property="BorderBrush" Value="Transparent"/>
			<Setter Property="Padding" Value="0"/>
			<Setter Property="HorizontalContentAlignment" Value="Left"/>
			<Setter Property="VerticalContentAlignment" Value="Top"/>
			<Setter Property="Template">
				<Setter.Value>
					<ControlTemplate TargetType="ListBoxItem">
						<Border x:Name="LayoutRoot" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}">
							<VisualStateManager.VisualStateGroups>
								<VisualStateGroup x:Name="CommonStates">
									<VisualState x:Name="Normal"/>
									<VisualState x:Name="MouseOver"/>
									<VisualState x:Name="Disabled">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="LayoutRoot">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TransparentBrush}"/>
											</ObjectAnimationUsingKeyFrames>
											<DoubleAnimation Duration="0" To=".5" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ContentContainer"/>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
								<VisualStateGroup x:Name="SelectionStates">
									<VisualState x:Name="Unselected"/>
									<VisualState x:Name="Selected">
										<Storyboard>
											<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
												<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneAccentBrush}"/>
											</ObjectAnimationUsingKeyFrames>
										</Storyboard>
									</VisualState>
								</VisualStateGroup>
							</VisualStateManager.VisualStateGroups>
							<ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
						</Border>
					</ControlTemplate>
				</Setter.Value>
			</Setter>
		</Style>

        <Style x:Key="ListBoxItemStyleAnimation" TargetType="ListBoxItem">
            <Setter Property="Background" Value="Transparent"/>
            <Setter Property="BorderThickness" Value="0,0,0,20"/>
            <Setter Property="BorderBrush" Value="Transparent"/>
            <Setter Property="Padding" Value="0"/>
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
            <Setter Property="VerticalContentAlignment" Value="Top"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="ListBoxItem">
                        <Border x:Name="LayoutRoot" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}">
                            <VisualStateManager.VisualStateGroups>
                                <VisualStateGroup x:Name="CommonStates">
                                    <VisualState x:Name="Normal"/>
                                    <VisualState x:Name="MouseOver"/>
                                    <VisualState x:Name="Disabled">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Background" Storyboard.TargetName="LayoutRoot">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource TransparentBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                            <DoubleAnimation Duration="0" To=".5" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="ContentContainer"/>
                                        </Storyboard>
                                    </VisualState>
                                </VisualStateGroup>
                                <VisualStateGroup x:Name="SelectionStates">
                                    <VisualState x:Name="Unselected"/>
                                    <VisualState x:Name="Selected">
                                        <Storyboard>
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Foreground" Storyboard.TargetName="ContentContainer">
                                                <DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource PhoneAccentBrush}"/>
                                            </ObjectAnimationUsingKeyFrames>
                                        </Storyboard>
                                    </VisualState>
                                </VisualStateGroup>
                            </VisualStateManager.VisualStateGroups>
                            <ContentControl x:Name="ContentContainer" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
        <Storyboard x:Name="sbFadeInTownhall">
            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="lbTownhall">
                <EasingDoubleKeyFrame KeyTime="0" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.5" Value="1"/>
            </DoubleAnimationUsingKeyFrames>
        </Storyboard>
    </phone:PhoneApplicationPage.Resources>

	<phone:PhoneApplicationPage.FontFamily>
		<StaticResource ResourceKey="PhoneFontFamilyNormal"/>
	</phone:PhoneApplicationPage.FontFamily>
	<phone:PhoneApplicationPage.FontSize>
		<StaticResource ResourceKey="PhoneFontSizeNormal"/>
	</phone:PhoneApplicationPage.FontSize>
	<phone:PhoneApplicationPage.Foreground>
		<StaticResource ResourceKey="PhoneForegroundBrush"/>
	</phone:PhoneApplicationPage.Foreground>

	<!--LayoutRoot is the root grid where all page content is placed-->
	<Grid x:Name="LayoutRoot">

        <!--TitlePanel contains the name of the application and page title-->
		<!--Pivot Control-->
		<Image Source="/NASA.BeAMartian;component/Assets/Images/blk.png" Stretch="Fill"/>
		<Image Source="/NASA.BeAMartian;component/Assets/Images/399-260508-2204-6-3d-2-01-EchusChasma_L.jpg" Stretch="Fill" Opacity="0.4"/>
		<!--Pivot Control-->
		<controls:Pivot Title="LEARN" x:Name="pvt" SelectionChanged="pvt_SelectionChanged">
			<!--Pivot item two-->
			<controls:PivotItem Header="what's new" Tag="WhatsNew">
				<ListBox SelectionMode="Single" SelectionChanged="lbWhatsNew_SelectionChanged" x:Name="lbWhatsNew" ItemContainerStyle="{StaticResource ListBoxItemStyleVideo}" >
					<ListBox.ItemTemplate>
						<DataTemplate>
							<StackPanel Orientation="Horizontal">
								<StackPanel Margin="0">            					
									<toolkit:WrapPanel Orientation="Horizontal">
										<Border VerticalAlignment="Top" BorderBrush="White" BorderThickness="1">
											<Image Width="160" Height="120" Loaded="Image_Loaded" Tag="{Binding Image}" />
										</Border>
										<toolkit:WrapPanel Margin="12,0,0,0" Orientation="Vertical">
											<TextBlock Style="{StaticResource PhoneTextTitle3Style}" 
												TextWrapping="Wrap" MaxWidth="280" 
												Text="{Binding Title}" VerticalAlignment="Bottom" 
												HorizontalAlignment="Left"/>
											<TextBlock Style="{StaticResource PhoneTextAccentStyle}" TextWrapping="Wrap" 
												Text="{Binding Posted}" Loaded="TextBlock_Loaded"
												VerticalAlignment="Top" HorizontalAlignment="Left" Foreground="White"
												MaxWidth="310" Margin="0,5,0,0"/>                                       
										</toolkit:WrapPanel>
									</toolkit:WrapPanel>
									<TextBlock Style="{StaticResource PhoneTextSmallStyle}" 
										TextWrapping="Wrap" Margin="0,5,0,0"
										Text="{Binding Description}" 
										VerticalAlignment="Top" HorizontalAlignment="Left"
										MaxWidth="460"/>
								</StackPanel>
							</StackPanel>
						</DataTemplate>
					</ListBox.ItemTemplate>
				</ListBox>
			</controls:PivotItem>
			<controls:PivotItem Header="ask questions" Tag="Townhall">
				<Grid>
					<ProgressBar x:Name="pbTownhall" IsIndeterminate="True" Height="17" Margin="-16,169,-15,0" VerticalAlignment="Top" Background="#FF4BFF3C">
						<ProgressBar.Foreground>
							<SolidColorBrush Color="{StaticResource BeAMAccentColor}"/>
						</ProgressBar.Foreground>
					</ProgressBar>

					<ListBox x:Name="lbTownhall" ItemsSource="{Binding Items}" SelectionChanged="ListView_SelectionChanged" Style="{StaticResource PhoneListBox}">
						<ListBox.ItemTemplate>
							<DataTemplate>
								<StackPanel Margin="0">
									<TextBlock x:Name="ItemText" MaxWidth="470" TextWrapping="Wrap" Text="{Binding Name}" Style="{StaticResource PhoneTextExtraLargeStyle}"/>
									<TextBlock x:Name="DetailsText" MaxWidth="470" TextWrapping="Wrap" Text="{Binding Description}" Style="{StaticResource PhoneTextSubtleStyle}"/>                                   
								</StackPanel>
							</DataTemplate>

						</ListBox.ItemTemplate>
					</ListBox>
				</Grid>
			</controls:PivotItem>
			<controls:PivotItem Header="mars facts" Tag="MarsFacts">
				<ListBox ItemsPanel="{StaticResource ItemsPanelTemplate1}" ItemContainerStyle="{StaticResource ListBoxItemStyle1}">
					<ListBox ItemContainerStyle="{StaticResource ListBoxItemStyleVideo}" Height="616" Width="456" Margin="12,0,0,0" >
						<ListBoxItem>
							<StackPanel Orientation="Horizontal">
								<StackPanel Margin="0">
									<TextBlock Style="{StaticResource PhoneTextTitle3Style}" TextWrapping="Wrap" 
										Text="Average Distance from Sun" VerticalAlignment="Bottom" HorizontalAlignment="Left" MaxWidth="420" FontSize="32" 
										/>
        
									<TextBlock Style="{StaticResource PhoneTextSmallStyle}" TextWrapping="Wrap" 
										VerticalAlignment="Top" HorizontalAlignment="Left"
										MaxWidth="355" FontSize="24"><Run Text="MARS:">
											<Run.Foreground>
												<SolidColorBrush Color="#FFFF8000">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run><Run Text=" "/><Run Text="142 million miles ">
											<Run.Foreground>
												<SolidColorBrush Color="White">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run><LineBreak/><Run Foreground="#FF7CB4FF" Text="EARTH:"/><Run Text=" "/><Run Text="93 million miles ">
											<Run.Foreground>
												<SolidColorBrush Color="White">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run></TextBlock>
        
								</StackPanel>
							</StackPanel>
						</ListBoxItem>
						<ListBoxItem>
							<StackPanel Orientation="Horizontal">
								<StackPanel Margin="0">
									<TextBlock Style="{StaticResource PhoneTextTitle3Style}" TextWrapping="Wrap" 
										Text="Diameter" VerticalAlignment="Bottom" HorizontalAlignment="Left" MaxWidth="420" FontSize="32" Foreground="White"/>
        
									<TextBlock Style="{StaticResource PhoneTextSmallStyle}" TextWrapping="Wrap" 
										VerticalAlignment="Top" HorizontalAlignment="Left"
										MaxWidth="355" FontSize="24"><Run Text="MARS:">
											<Run.Foreground>
												<SolidColorBrush Color="#FFFF8000">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run><Run Text=" "/><Run Text="4,220 miles">
											<Run.Foreground>
												<SolidColorBrush Color="White">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run><LineBreak/><Run Foreground="#FF7CB4FF" Text="EARTH:"/><Run Text=" "/><Run Text="7,926 miles">
											<Run.Foreground>
												<SolidColorBrush Color="White">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run></TextBlock>
        
								</StackPanel>
							</StackPanel>
						</ListBoxItem>
						<ListBoxItem>
							<StackPanel Orientation="Horizontal">
								<StackPanel Margin="0">
									<TextBlock Style="{StaticResource PhoneTextTitle3Style}" TextWrapping="Wrap" 
										Text="Tilt of Axis" VerticalAlignment="Bottom" HorizontalAlignment="Left" MaxWidth="355" FontSize="32" Foreground="White"/>
        
									<TextBlock Style="{StaticResource PhoneTextSmallStyle}" TextWrapping="Wrap" 
										VerticalAlignment="Top" HorizontalAlignment="Left"
										MaxWidth="355" FontSize="24"><Run Text="MARS:">
											<Run.Foreground>
												<SolidColorBrush Color="#FFFF8000">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run><Run Text=" "/><Run Text="25 degrees">
											<Run.Foreground>
												<SolidColorBrush Color="White">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run><LineBreak/><Run Foreground="#FF7CB4FF" Text="EARTH:"/><Run Text=" "/><Run Text="23.5 degrees ">
											<Run.Foreground>
												<SolidColorBrush Color="White">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run></TextBlock>
        
								</StackPanel>
							</StackPanel>
						</ListBoxItem>
						<ListBoxItem>
							<StackPanel Orientation="Horizontal">
								<StackPanel Margin="0">
									<TextBlock Style="{StaticResource PhoneTextTitle3Style}" TextWrapping="Wrap" 
										Text="Length of Year" VerticalAlignment="Bottom" HorizontalAlignment="Left" FontSize="32" MaxWidth="355" Foreground="White"/>
        
									<TextBlock Style="{StaticResource PhoneTextSmallStyle}" TextWrapping="Wrap" 
										VerticalAlignment="Top" HorizontalAlignment="Left"
										MaxWidth="355" FontSize="24"><Run Text="MARS:">
											<Run.Foreground>
												<SolidColorBrush Color="#FFFF8000">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run><Run Text=" "/><Run Text="687 Earth Days">
											<Run.Foreground>
												<SolidColorBrush Color="White">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run><LineBreak/><Run Foreground="#FF7CB4FF" Text="EARTH:"/><Run Text=" "/><Run Text="365.25 Days ">
											<Run.Foreground>
												<SolidColorBrush Color="White">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run></TextBlock>
        
								</StackPanel>
							</StackPanel>
						</ListBoxItem>
						<ListBoxItem>
							<StackPanel Orientation="Horizontal">
								<StackPanel Margin="0">
									<TextBlock Style="{StaticResource PhoneTextTitle3Style}" TextWrapping="Wrap" 
										Text="Gravity" VerticalAlignment="Bottom" HorizontalAlignment="Left" MaxWidth="355" FontSize="32" Foreground="White"/>
        
									<TextBlock Style="{StaticResource PhoneTextSmallStyle}" TextWrapping="Wrap" 
										VerticalAlignment="Top" HorizontalAlignment="Left"
										MaxWidth="355" FontSize="24"><Run Text="MARS:">
											<Run.Foreground>
												<SolidColorBrush Color="#FFFF8000">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run><Run Text=" "/><Run Text=".375 That of Earth">
											<Run.Foreground>
												<SolidColorBrush Color="White">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run><LineBreak/><Run Foreground="#FF7CB4FF" Text="EARTH:"/><Run Text=" "/><Run Text="2.66 Times that of Mars">
											<Run.Foreground>
												<SolidColorBrush Color="White">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run></TextBlock>
        
								</StackPanel>
							</StackPanel>
						</ListBoxItem>
						<ListBoxItem>
							<StackPanel Orientation="Horizontal">
								<StackPanel Margin="0">
									<TextBlock Style="{StaticResource PhoneTextTitle3Style}" TextWrapping="Wrap" 
										Text="Temperature" VerticalAlignment="Bottom" HorizontalAlignment="Left" MaxWidth="355" FontSize="32" Foreground="White"/>
        
									<TextBlock Style="{StaticResource PhoneTextSmallStyle}" TextWrapping="Wrap" 
										VerticalAlignment="Top" HorizontalAlignment="Left"
										MaxWidth="355" FontSize="24"><Run Text="MARS:">
											<Run.Foreground>
												<SolidColorBrush Color="#FFFF8000">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run><Run Text=" "/><Run Text="Average -81 degrees F">
											<Run.Foreground>
												<SolidColorBrush Color="White">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run><LineBreak/><Run Foreground="#FF7CB4FF" Text="EARTH:"/><Run Text=" "/><Run Text="Average 57 degrees F">
											<Run.Foreground>
												<SolidColorBrush Color="White">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run></TextBlock>
        
								</StackPanel>
							</StackPanel>
						</ListBoxItem>
						<ListBoxItem>
							<StackPanel Orientation="Horizontal">
								<StackPanel Margin="0">
									<TextBlock Style="{StaticResource PhoneTextTitle3Style}" TextWrapping="Wrap" 
										Text="Atmosphere" VerticalAlignment="Bottom" HorizontalAlignment="Left" MaxWidth="355" FontSize="32" Foreground="White"/>
        
									<TextBlock Style="{StaticResource PhoneTextSmallStyle}" TextWrapping="Wrap" 
										VerticalAlignment="Top" HorizontalAlignment="Left"
										MaxWidth="355" FontSize="24"><Run Text="MARS:">
											<Run.Foreground>
												<SolidColorBrush Color="#FFFF8000">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run><Run Text=" "/><Run Text="25 degrees">
											<Run.Foreground>
												<SolidColorBrush Color="White">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run><LineBreak/><Run Foreground="#FF7CB4FF" Text="EARTH:"/><Run Text=" "/><Run Text="23.5 degrees ">
											<Run.Foreground>
												<SolidColorBrush Color="White">
													<SolidColorBrush.RelativeTransform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.RelativeTransform>
													<SolidColorBrush.Transform>
														<MatrixTransform Matrix="Identity"/>
													</SolidColorBrush.Transform>
												</SolidColorBrush>
											</Run.Foreground>
										</Run></TextBlock>
        
								</StackPanel>
							</StackPanel>
						</ListBoxItem>
					</ListBox>
				</ListBox>
			</controls:PivotItem>

			<!--Pivot item two-->
		</controls:Pivot>
	</Grid>
</phone:PhoneApplicationPage>